|
|
|
|
- Operating mode in Windows Vista (and later)
<DiskFile variable>.FileName (Function) In french: <Variable FichierDisque>.NomFichier Returns the name of an external file currently open. This file was opened by one of the following functions: .Open, Create or OpenTempFile.
FileName is string
MyFile is DiskFile
MyFile = fCreate("C:\temp\TestCreation.txt")
FileName = MyFile.FileName()
Info("The file " + fExtractPath(FileName, fFile + fExtension) + ...
" was created in "+ fExtractPath(FileName, fDrive + fDirectory))
Syntax
<Result> = <File used>.FileName()
<Result>: Character string Name and full path of the external file. <Result> is a character string of the same type as the one passed to .Open, Create or OpenTempFile: - If these functions handled an Ansi character string, <Result> will be in Ansi format.
- If these functions handled a Unicode character string, <Result> will be in Unicode format.
<File used>: DiskFile variable Name of the DiskFile variable initialized with .Open, Create or OpenTempFile.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|